package org.jeecg.modules.wlhy.hypricehistory.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 调价历史表
 * @Author: jeecg-boot
 * @Date:   2021-08-23
 * @Version: V1.0
 */
@Data
@TableName("hy_price_history")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="hy_price_history对象", description="调价历史表")
public class HyPriceHistory implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "订单id")
    private String orderId;

	/**订单号*/
	@Excel(name = "订单号", width = 15)
    @ApiModelProperty(value = "订单号")
    private String orderNum;
	/**创建修改日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建修改日期")
    private Date createTime;
	/**运费方式*/
	@Excel(name = "运费方式", width = 15, dicCode = "shipping_type")
	@Dict(dicCode = "shipping_type")
    @ApiModelProperty(value = "运费方式")
    private String shippingType;
	/**运费含税单价*/
	@Excel(name = "运费单价", width = 15)
    @ApiModelProperty(value = "运费单价")
    private BigDecimal shippingUnitPrice;
	/**亏损货物单价*/
	@Excel(name = "亏损货物单价", width = 15)
    @ApiModelProperty(value = "亏损货物单价")
    private BigDecimal lossGoodsUnitPrice;
	/**亏损方式*/
	@Excel(name = "亏损方式", width = 15, dicCode = "loss_type")
	@Dict(dicCode = "loss_type")
    @ApiModelProperty(value = "亏损方式")
    private String lossType;
	/**亏损免赔数值*/
	@Excel(name = "亏损免赔数值", width = 15)
    @ApiModelProperty(value = "亏损免赔数值")
    private BigDecimal lossProportion;
	/**免赔比例*/
	@Excel(name = "免赔比例", width = 15)
    @ApiModelProperty(value = "免赔比例")
    private String lossProportion2;
	/**是否使用油气*/
	@Excel(name = "是否使用油气", width = 15, dicCode = "iz_used")
	@Dict(dicCode = "iz_used")
    @ApiModelProperty(value = "是否使用油气")
    private String izUsedGas;
	/**油气充值金额*/
	@Excel(name = "油气充值金额", width = 15)
    @ApiModelProperty(value = "油气充值金额")
    private BigDecimal gasRechargeAmount;
}
